<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button type="button" onclick="location2();">跳转到C</button>
		<button type="button" onclick="history1();">前进</button>
		<button type="button" onclick="history2();">后退</button>
		<button type="button" onclick="location5();">刷新</button>
	</body>
	<script type="text/javascript">
		function location2(){
			location.href = 'c.html'
		}
		function history1(){
			history.forward();
		}
		function history2(){
			history.back();
		}
		function location5(){
			location.reload();
		}
	</script>
</html>
